<template>
  <div id="app">
    <H1>拉钩教育</H1>
    <P>{{ a }}</P>
    <button @click="test">Click</button>
    <router-view />
  </div>
</template>

<script lang="ts">
import Vue from 'vue'
import Component from 'vue-class-component'

@Component
export default class App extends Vue {
  a = 1
  b = '2'
  c = {
    a: 1,
    b: '2'
  }

  test () {
    console.log(this.a)
  }
}
</script>

<style lang="scss" scoped>
</style>
